package com.iplay.thezen.flyweight;

/**
 * @author dangwu
 * @since 2021/9/27 3:15 下午
 */
public abstract class Flyweight {
    private String intrinsic;
    protected final String extrinsic;

    public Flyweight(String extrinsic){
        this.extrinsic = extrinsic;
    }

    public abstract void operate();

    public String getIntrinsic() {
        return intrinsic;
    }

    public void setIntrinsic(String intrinsic) {
        this.intrinsic = intrinsic;
    }
}
